﻿using System;
using System.IO;
using System.Text.RegularExpressions;

namespace AccessLogCleaner.Logs
{
    public interface ILog
    {
        void Split(int numLines, SplitOptions opt);
        void Split(string filter, SplitOptions opt);
        void Serialize(Stream stream);
        void Serialize(string filename);
        void Sanitize(string filter, SanitizeOptions opt);
        void Sanitize(Regex filter, SanitizeOptions opt);

        float FractionCompleted
        {
            get;
            set;
        }

        float PercentCompleted
        {
            get;
            set;
        }

        string LogFileName
        {
            get;
            set;
        }

        string LogFileLongName
        {
            get;
            set;
        }
    }
}
